/**  
* @author renbangjie renbangjie@126.com  
* @date 2014-11-20 上午9:49:55
* @version V1.0  
* <b>Copyright (c)</b> 2014医信金融信息服务（上海）有限公司-版权所有<br/>
*/
package com.yjd.comm.user.dto;

import com.yjd.comm.user.model.UserModel;

/**
 * 注册
 * @author renbangjie renbangjie@126.com
 * @date 2014-11-20 上午9:49:55
 */
public class RegisterUserDto extends UserModel {

	/**
	* @Fields serialVersionUID : TODO
	*/
	private static final long serialVersionUID = 1L;

	/**
	 * 邀请人
	 */
	private String relation;
	
	/**
	 * 推广员
	 */
	private Long extension;
	
	/**
	 * 微信注册
	 */
	private String weixin;
	
	/**
	 * 文章id
	 */
	private Integer office_id;
	
	/**
	 * 协议
	 */
	private String protocol;
	/**
	 * 注册渠道
	 */
	private String reg_channel;
	/**
	 * 渠道用户id
	 * */
	private String channel_user_id;
	/**
	 * 注册渠道扩展信息
	 */
	private String ext_data;
	//新版人人推广 标识参数
	private Long spreader;
	
	public RegisterUserDto() {
	}

	public RegisterUserDto(String relation, Long extension, String weixin,
			Integer office_id, String protocol) {
		this.relation = relation;
		this.extension = extension;
		this.weixin = weixin;
		this.office_id = office_id;
		this.protocol = protocol;
	}

	public RegisterUserDto(Long extension, String weixin,
			Integer office_id) {
		this.extension = extension;
		this.weixin = weixin;
		this.office_id = office_id;
	}

	public String getRelation() {
		return relation;
	}

	public void setRelation(String relation) {
		this.relation = relation;
	}

	public Long getExtension() {
		return extension;
	}

	public void setExtension(Long extension) {
		this.extension = extension;
	}

	public String getWeixin() {
		return weixin;
	}

	public void setWeixin(String weixin) {
		this.weixin = weixin;
	}

	public Integer getOffice_id() {
		return office_id;
	}

	public void setOffice_id(Integer office_id) {
		this.office_id = office_id;
	}

	public String getProtocol() {
		return protocol;
	}

	public void setProtocol(String protocol) {
		this.protocol = protocol;
	}

	public String getReg_channel()
	{
		return reg_channel;
	}

	public void setReg_channel(String reg_channel)
	{
		this.reg_channel = reg_channel;
	}

	public String getChannel_user_id()
	{
		return channel_user_id;
	}

	public void setChannel_user_id(String channel_user_id)
	{
		this.channel_user_id = channel_user_id;
	}

	public String getExt_data()
	{
		return ext_data;
	}

	public void setExt_data(String ext_data)
	{
		this.ext_data = ext_data;
	}

	public Long getSpreader() {
		return spreader;
	}

	public void setSpreader(Long spreader) {
		this.spreader = spreader;
	}

	 
}
